import request from '../utils/request';
import qs from 'qs';
//模板模拟
export const fetchData = query => {
  return request({
      url: '',
      method: 'get',
      params: query
  });
};
// 服务项目
export const serveProject = query => {
  return request({
      url: '/vehicle/services/all',
      method: 'get',
      params: query
  });
};
// 附近商家
export const myShop = query => {
  return request({
      url: '/vehicle/services/business',
      method: 'get',
      params: query
  });
};
// 所有商家
export const shopAll = query => {
  return request({
      url: '/vehicle/services/allBusiness',
      method: 'get',
      params: query
  });
};